package com.example.demo.db.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 费率表
 *
 * @author wuhong-016
 */
@Data
@TableName("PCE_PREMIUMRATE2020_TEST")
public class RateEntity {

    @TableId("id")
    private Long id;

    @TableField("BRANCHCODE")
    private String branchCode;//分公司代码

    @TableField("PRODUCTCODE")
    private String productCode;//险种代码

    @TableField("COVERAGECODE")
    private String coverageCode;//子险代码

    @TableField("VEHICLEUSAGE")
    private String vehicleUsage;//使用性质

    @TableField("VEHICLETYPE")
    private String vehicleType;//车辆类型

    @TableField("VEHICLECLASS")
    private String vehicleClass;//车辆种类

    @TableField("SEATCOUNTMAX")
    private Integer seatCountMax;//座位数_上限

    @TableField("SEATCOUNTMIN")
    private Integer seatCountMin;//座位数_下限

    @TableField("CARRYINGCAPACITYMAX")
    private Integer carryingCapacityMax;//吨位数_上限

    @TableField("CARRYINGCAPACITYMIN")
    private Integer carryingCapacityMin;//吨位数_下限

    @TableField("USEAGESMIN")
    private BigDecimal useAgesMin;//使用年限_下限

    @TableField("USEAGESMAX")
    private BigDecimal useAgesMax;//使用年限_上限

    @TableField("purchasePriceMin")
    private BigDecimal purchasePriceMin;//新车购置价_下限

    @TableField("PURCHASEPRICEMAX")
    private BigDecimal purchasePriceMax;//新车购置价_上限

    @TableField("FACTOR")
    private String factor;//因子

    @TableField("FACTORB")
    private String factorB;//因子

    @TableField("RATESCALEA")
    private BigDecimal rateScaleA;//固定保费A

    @TableField("RATESCALEB")
    private BigDecimal rateScaleB;//固定保费B

    @TableField("CREATEDATE")
    private Date createDate;//创建时间

    @TableField("UPDATEDATE")
    private Date upDateDate;//更新时间

    protected RateEntity() {
    }


}
